//
//  CLDatabaseQueue.m
//  CLBrowser
//
//  Created by 梁慧聪 on 2017/4/6.
//  Copyright © 2021年 梁慧聪. All rights reserved.
//

#import "CLDatabaseQueue.h"

@implementation CLDatabaseQueue

- (void)inCLDatabase:(void (^)(CLDatabase *))block{
    [super inDatabase:^(FMDatabase *db){
        if (block) {
            CLDatabase *zwDB = (CLDatabase *)db;
            block(zwDB);
        }
    }];
}

+ (Class)databaseClass{
    return [CLDatabase class];
}

@end
